#ifndef SPHERE_H
#define SPHERE_H

#include "mymath.h"
#include <QtOpenGL>
#include "point.h"
#include <QList>

class Sphere
{
public:
    Sphere();
    Sphere(int NM, int NP);

    void dessiner();

private:
    void initialiser();

private:
    int NM; //Nombre de méridiens
    int NP; //Nombre de parallèles
    QList<Point*> sommets; //Sommets de la sphere
    QList<Point*> faces; //Faces de la sphere
};

#endif // SPHERE_H
